/**
 * @(#)ApkConfigController.java 2017年03月1日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.action;
import java.util.List;

import org.jsbd.boss.service.IOnlineSimulatorNumLogService;
import org.jsbd.boss.util.DateUtil;
import org.jsbd.boss.domian.OnlineSimulatorNumLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/onlineSimulatorNumLog")
public class OnlineSimulatorNumLogController{

	private static final Logger LOGGER=LoggerFactory.getLogger(OnlineSimulatorNumLogController.class);
	
	@Autowired
	private IOnlineSimulatorNumLogService onlineSimulatorNumLogService;

	/**
	 * 列表页面
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	@RequestMapping(value = "listModel")
	public String showOnlineSimulatorNumLogList(Model model) throws Exception {
		return "/onlineSimulatorNumLog/onlineSimulatorNumLogList";
	}

	@RequestMapping(value = "getOnlineSimulatorNumLogList")
	@ResponseBody
	public Object getOnlineSimulatorNumLogList(OnlineSimulatorNumLog onlineSimulatorNumLog) throws Exception {
		return onlineSimulatorNumLogService.getOnlineSimulatorNumLogForMap(onlineSimulatorNumLog);
	}
	

}
